package com.boang.entity;

import com.boang.util.StringToLocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/*
    @author:sa
    @date:2024/12/11 11:37
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student {
    private int id;
    private String name;
    private int age;
    private String sex;
    private LocalDateTime birthday;
    private Double fee;
    private String grad;
    private int score;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

    public Student(int id, String name, int age, String sex, LocalDateTime birthday, Double fee, String grad, int score) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.birthday = birthday;
        this.fee = fee;
        this.grad = grad;
        this.score = score;
    }

    public Student(int id, String name) {
        this.id = id;
        this.name = name;
    }


}